.class Lcom/waiqin365/lightapp/chexiao/al;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/chexiao/CXDFHWRecordsActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/chexiao/CXDFHWRecordsActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/chexiao/al;->a:Lcom/waiqin365/lightapp/chexiao/CXDFHWRecordsActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 4

    new-instance v1, Landroid/content/Intent;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/al;->a:Lcom/waiqin365/lightapp/chexiao/CXDFHWRecordsActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXDFHWRecordsActivity;->a(Lcom/waiqin365/lightapp/chexiao/CXDFHWRecordsActivity;)Landroid/content/Context;

    move-result-object v0

    const-class v2, Lcom/waiqin365/lightapp/chexiao/CXDFHWDetailActivity;

    invoke-direct {v1, v0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v2, "id"

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/al;->a:Lcom/waiqin365/lightapp/chexiao/CXDFHWRecordsActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXDFHWRecordsActivity;->b(Lcom/waiqin365/lightapp/chexiao/CXDFHWRecordsActivity;)Ljava/util/List;

    move-result-object v0

    iget-object v3, p0, Lcom/waiqin365/lightapp/chexiao/al;->a:Lcom/waiqin365/lightapp/chexiao/CXDFHWRecordsActivity;

    iget-object v3, v3, Lcom/waiqin365/lightapp/chexiao/CXDFHWRecordsActivity;->b:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->getHeaderViewsCount()I

    move-result v3

    sub-int v3, p3, v3

    invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/chexiao/c/e;

    iget-object v0, v0, Lcom/waiqin365/lightapp/chexiao/c/e;->a:Ljava/lang/String;

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/al;->a:Lcom/waiqin365/lightapp/chexiao/CXDFHWRecordsActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXDFHWRecordsActivity;->c(Lcom/waiqin365/lightapp/chexiao/CXDFHWRecordsActivity;)Landroid/content/Context;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    return-void
.end method
